Skip to content

feat(aep): add replay-evidence and checkpoint-evidence schemas (#124, #153) - #154

Merged
telleroutlook merged 1 commit into
mainfrom
feat/aep-evidence-schemas-124-153
Jul 29, 2026
Merged

feat(aep): add replay-evidence and checkpoint-evidence schemas (#124, #153)#154
telleroutlook merged 1 commit into
mainfrom
feat/aep-evidence-schemas-124-153

Conversation

@telleroutlook

Copy link
Copy Markdown
Contributor

Adds two new AEP evidence types per Milestone 4:

replay-evidence (#124): schemas/aep/replay-evidence.schema.json
Required: schema_version, created_at_ms, run_id, seed, input_digests[], output_digest, engine_version. Optional: trace_id, signature.

checkpoint-evidence (#153): schemas/aep/checkpoint-evidence.schema.json
Required: schema_version, created_at_ms, checkpoint_id, parent_run_id, state_digest. Optional: trace_id, fork_of (nullable), signature.

Both schemas are Draft 2020-12 with additionalProperties: false, registered in schemas/index.json, and include valid + invalid fixtures.

Tests: node --test 18/18 pass; python3 tests/conformance.py reports 13 schemas well-formed, refs resolve, fixtures pass/fail as expected.

Closes #124, closes #153

…153)

Adds two new AEP evidence types needed for deterministic-replay attestation
and checkpoint/fork record provenance:

**replay-evidence** (#124):
  - `schemas/aep/replay-evidence.schema.json`
  - Required fields: schema_version, created_at_ms, run_id, seed,
    input_digests[], output_digest, engine_version
  - Optional: trace_id, signature (ed25519/key_id/sig)
  - Draft 2020-12, additionalProperties: false

**checkpoint-evidence** (#153):
  - `schemas/aep/checkpoint-evidence.schema.json`
  - Required fields: schema_version, created_at_ms, checkpoint_id,
    parent_run_id, state_digest
  - Optional: trace_id, fork_of (nullable), signature
  - Draft 2020-12, additionalProperties: false

Both schemas:
  - Registered in `schemas/index.json` (version aep/v0.1, stability evolving)
  - Valid fixture (all required + optional fields present)
  - Invalid fixture (omits a required field — must fail validation)
  - `node --test`: 18/18 pass; `conformance.py`: 13 schemas OK

Closes #124, closes #153
@telleroutlook
telleroutlook merged commit 2686500 into main Jul 29, 2026
3 checks passed
@telleroutlook
telleroutlook deleted the feat/aep-evidence-schemas-124-153 branch July 29, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant